How can I achieve a flattened dictionary from a nested dictionary using dictionary comprehension

welcome to shbcf.ru